package com.tzjw.marketweixin.exception.errorcode;

/**
 * AuthErrorCode 认证异常
 * @author hayden
 * @since 2023/09/17 09:34
 */
public enum AuthErrorCode implements ErrorCode{
    E_50201(502, "认证失败"),
    E_50202(502, "认证信息过期，请重新登录");

    private int code;
    private String desc;

    AuthErrorCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}


